<template>
  <div class="person container">
    <div class="left-nav">
      <router-link to="/person/basicInfo">基本资料</router-link>
      <router-link to="/person/myshopcar">我的购物车</router-link>
      <router-link to="/person/order">我的订单</router-link>
      <router-link to="/person/xgpassword">修改密码</router-link>
      <router-link to="/person/shaddress">收货地址</router-link>
      <router-link to="/person/mycode">我的二维码</router-link>
      <router-link to="/person/mydistribution">我的分销</router-link>
    </div>
    <div class="right-box">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: 'App',
  data(){
    return{
      
    }
  },
  methods:{
    
  },
  components:{
    
  }
}
</script>

<style scoped lang="less">
.person{
  height: auto;
  zoom: 1;
  overflow: hidden;
  .left-nav{
    margin-top: 30px;
    width: 244px;
    float: left;
    border: 1px solid #c7c7c7;
    a{
      display: block;
      width: 100%;
      height: 54px;
      text-align: center;
      line-height: 54px;
      font-size: 16px;
      color: #212121;
    }
    .router-link-active{
      color: #fff;
      background: #50b748;
    }
  }
  .right-box{
    width: 924px;
    height: auto;
    zoom: 1;
    float: right;
    margin-top: 30px;
  }
}
</style>
